package richbar.com.richbar.bean;

import com.common.base.BaseResult;

import java.util.List;

/**
 * Created by QiYang on 2018/11/20.
 */

public class CateLeftResult extends BaseResult{


    /**
     * code : 200
     * msg : 请求成功
     * data : {"list":[{"id":0,"name":"推荐分类"},{"id":1,"name":"服装"},{"id":5,"name":"手机数码"}]}
     */

    private String msg;
    private DataEntity data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataEntity getData() {
        return data;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public static class DataEntity {
        private List<ListEntity> list;

        public List<ListEntity> getList() {
            return list;
        }

        public void setList(List<ListEntity> list) {
            this.list = list;
        }

        public static class ListEntity {
            /**
             * id : 0
             * name : 推荐分类
             */

            private String id;
            private String name;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }
    }
}
